package com.xyl.controller;

import com.xyl.entity.User;
import com.xyl.services.UserService;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class SysController extends  BaseController{

    @Autowired
    private UserService userService;


    @GetMapping({"","/login","/"})
    public String loginHTML(){
        return "login";
    }

    @GetMapping("/register")
    public String registerHTML(){
        return "register";
    }


}
